A15 - Compression
提出
code: python
from collections import defaultdict
n = int(input())
a = list(map(int, input().split()))
aa = sorted(a)
d = defaultdict(int)
duplicate = 0
for i, v in enumerate(aa):
if i == 0:
else:
duplicate += 1
continue
else:
for v in a: